<%-- 
    Document   : index
    Created on : Nov 5, 2008, 8:49:09 AM
    Author     : menandro.neto
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Hello World!</h2>
        
        Chama JSP:<br/>
        <form name="frmTeste" method="get" action="resposta.jsp">
            <p>Quantidade: </p>
            <p><input type="text" name="txtQuantidade"></p>
            <p><input type="submit" name="btnSubmit"></p>
        </form>

        Chama Servlet:<br/>
        <form name="frmTeste" method="post" action="resposta.do">
            <p>Quantidade: </p>
            <p><input type="text" name="txtQuantidade"></p>
            <p><input type="submit" name="btnSubmit"></p>
        </form>
        
    </body>
</html>
